package com.ittx.java1608.secure.controller;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

@ControllerAdvice
public class AdviceController {
	@ExceptionHandler
	public String onErrorController(Exception ex) {
		return "error";
	}
}
